
#ifndef _TTG_STACK_
#define _TTG_STACK_

#include <vector>

template <class T>
class Stack
{
	private:
		std::vector<T> data;
	public:
		inline void push_back(T el)
		{ data.push_back(el); }
		inline T pop_back()
		{
			T res = data[data.size() - 1];
			data.pop_back();
			return res;
		}
		inline std::vector<T> &getVector()
		{ return data; }
};

#endif
